<template>
  <div>
    <h2>新闻页</h2>
    {{ $store.state.count }}
    <ul>
      <li v-for="cate in $store.state.cates" :key="cate.id">
        <h5>{{cate.name}}</h5>
        <img :src="cate.icon" width="50" alt="">
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  name: 'NewsPage'
}
</script>

<style lang="scss" scoped>

</style>
